<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/Ui/layui-v2.6.4/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/Ui/bootstrap/css/bootstrap.css}">
    <link rel="stylesheet" th:href="@{/admin/css/login.css}">
    <link rel="stylesheet" th:href="@{/admin/css/index.css}">
    <style>
        body{
            background: #227b79 !important;
        }
    </style>
</head>
<body>
<div style="height: 80px;width:100%;"></div>
<div th:include="blog/common::top"></div>
<div class="row">
    <div class="col-xs-4 col-xs-offset-4 formItems">
        <div style="margin-top: 10px;text-align: center">
            <span class="fontUser">网站收藏</span>
        </div>
        <form class="layui-form" action="/insertLink" method="post">
            <div class="layui-form-item ">
                <label class="layui-form-label">名称</label>
                <div class="layui-input-inline">
                    <input type="text" required name="name"  lay-reqtext="用户名是必填项，岂能为空？"
                           placeholder="尽可能简短明了" autocomplete="off" class="layui-input input">
                </div>
            </div>
            <input type="text" hidden="hidden" th:value="${session.id}" name="userId">
            <div class="layui-form-item">
                <label class="layui-form-label">站点</label>
                <div class="layui-input-inline">
                    <input type="text" required name="link" placeholder="必须要有前缀 http://或https://" autocomplete="off" class="layui-input input" style="width: 350px;">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="row">
                </div>
            </div>
            <div style="text-align: center">
                <input type="submit" class="btn btn-info" style="width: 100px">
            </div>
        </form>

    </div>
</div>

<script th:src="@{/Ui/layui-v2.6.4/layui/layui.js}"></script>
<script th:src="@{/Ui/bootstrap/js/bootstrap.js}"></script>
</body>
</html>